package com.oo.polymorphic_4.fruit;

/**
 * Fruit--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 10:53
 **/
public class Fruit {

    private String name;

    private String flavor;

    public Fruit() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFlavor() {
        return flavor;
    }

    public void setFlavor(String flavor) {
        this.flavor = flavor;
    }

    public Fruit(String name, String flavor) {
        this.name = name;
        this.flavor = flavor;
    }

    public void eat() {
    }
}
